package com.cw.base.common.model.constants;

import com.cw.base.common.model.dto.base.BaseRequest;
import com.cw.base.common.model.dto.base.BaseUserRequest;

/**
 * @author chenw
 * @version $$Id: RestConstant.java, v 0.1 2018/10/23 5:15 PM chenw Exp $$
 */
public class RestConstant {
    /** {@link BaseRequest}的requestHeader值 */
    public static final String RPC_BASE_REQUEST = "Rpc-Base-Request";

    /** {@link BaseUserRequest}的requestHeader值 */
    public static final String RPC_BASE_USER_REQUEST = "Rpc-Base-User-Request";
    /** 各业务侧统一前缀 */
    public static final String BASE_URL_PREFIX = "/cw";

    /** jeeyc-core工程 */
    public static final String MODULE_CORE_PREFIX = BASE_URL_PREFIX + "/jeeyc-core";
    /** jeeyc-core模块应用名 */
    public static final String CORE_APPLICATION_NAME = "${jeeyc.feign.module:hrkj-jeeyc-center}";
    /** jeeyc-autotest工程 */
    public static final String MODULE_AUTOTEST_PREFIX = BASE_URL_PREFIX + "/jeeyc-autotest";
    /** jeeyc-autotest模块应用名 */
    public static final String AUTOTEST_APPLICATION_NAME = "${jeeyc.feign.module:loanV2-jeeyc-autotest}";
    /** flow工程 */
    //public static final String MODULE_CORE_PREFIX = BASE_URL_PREFIX + "/jeeyc-flow";
    /** flow模块应用名 */
    //public static final String CORE_APPLICATION_NAME = "${jeeyc.feign.module:loanV2-jeeyc-flow}";
    /** jeeyc-api工程 */
    public static final String MODULE_API_PREFIX = BASE_URL_PREFIX + "/jeeyc-api";
    /** jeeyc-api模块应用名 */
    public static final String API_APPLICATION_NAME = "${jeeyc.feign.module:loanV2-jeeyc-api}";
    /** jeeyc-deploy工程 */
    public static final String MODULE_DEPLOY_PREFIX = BASE_URL_PREFIX + "/jeeyc-deploy";
    /** jeeyc-deploy模块应用名 */
    public static final String DEPLOY_APPLICATION_NAME = "${jeeyc.feign.module:loanV2-jeeyc-deploy}";
    /** jeeyc-admin工程 */
    public static final String MODULE_ADMIN_PREFIX = BASE_URL_PREFIX + "/jeeyc-admin";
    /** jeeyc-admin 模块应用名 */
    public static final String ADMIN_APPLICATION_NAME = "${jeeyc.feign.module.jeeyc:loanV2-jeeyc-admin}";
    /** jeeyc-cms工程 */
    public static final String MODULE_CMS_PREFIX = BASE_URL_PREFIX + "/jeeyc-cms";
    /** jeeyc-cms 模块应用名 */
    public static final String CMS_APPLICATION_NAME = "${jeeyc.feign.module.jeeyc:loanV2-jeeyc-cms}";
}
